<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

//app页面
Route::rule('h5_index', 'index/api/h5_index');
Route::rule('h5_search', 'index/api/h5_search');
Route::rule('h5_user', 'index/api/h5_user');
Route::rule('h5_vip_video', 'index/api/h5_vip_video');
Route::rule('my_order', 'index/index/my_order');
Route::rule('my_order_del', 'index/index/my_order_del');

Route::rule('my_task', 'index/index/my_task');
Route::rule('pd_task', 'index/index/pd_task');
Route::rule('settings', 'index/api/settings');
Route::rule('vod_points', 'index/index/vod_points');

//app接口
Route::rule('get_h5_video', 'index/api/get_h5_video');
Route::rule('get_vip_video', 'index/index/get_vip_video');
Route::rule('get_share_code', 'index/index/get_share_code');
Route::rule('vod_zan', 'index/api/vod_zan');

//快音短视频
Route::rule('kv_index', 'index/api/kv_index');
Route::rule('get_next_vod', 'index/api/get_next_vod');
Route::rule('get_kv_wall', 'index/api/get_kv_wall');
Route::rule('video_stats_index', 'index/api/video_stats_index');

//app登录接口
Route::rule('wx_app_login', 'index/login/wx_app_login');
Route::rule('send_for_mobile', 'index/login/send_for_mobile');
Route::rule('single_account_bind', 'index/login/single_account_bind');

//app支付
Route::rule('h5_pay', 'index/index/h5_pay');
Route::rule('pay_vod_have', 'index/index/pay_vod_have');

Route::rule('buy_vod_vip', 'index/index/buy_vod_vip'); //app支付页面
Route::rule('buy_nobility', 'index/index/buy_nobility');
Route::rule('create_vip_order', 'index/pay/create_vip_order');
Route::rule('create_nobility_order', 'index/pay/create_nobility_order');
Route::rule('pay_vod_points', 'index/pay/pay_vod_points');

Route::rule('nobility_callback', 'index/pay/nobility_callback');
Route::rule('vip_callback', 'index/pay/vip_callback');

//分享页面
Route::rule('share_page1', 'index/api/share_page1');
Route::rule('share_page2', 'index/api/share_page2');
Route::rule('share_ali', 'index/api/share_ali');
Route::rule('download', 'index/api/download');
Route::rule('version', 'index/api/version');
Route::rule('agreement', 'index/api/agreement');
Route::rule('policy', 'index/api/policy');

//app启动页
Route::rule('launch_page', 'index/api/launch_page');
Route::rule('launch_page_set', 'index/api/launch_page_set');

//陪玩页面
Route::rule('pw_page', 'index/api/pw_page');
Route::rule('pw_page_share', 'index/api/pw_page_share');
Route::rule('pw_contact', 'index/index/pw_contact');
Route::rule('pw_play', 'index/api/pw_play');
Route::rule('pw_page', 'index/api/pw_page');
Route::rule('pw_release', 'index/index/pw_release');
Route::rule('pw_submit_girl', 'index/index/pw_submit_girl');
Route::rule('pw_resubmit_girl', 'index/index/pw_resubmit_girl');
Route::rule('pw_girl_status', 'index/index/pw_girl_status');
Route::rule('pw_girl_info', 'index/index/pw_girl_info');
Route::rule('pw_video', 'index/api/pw_video');

//获取标签
Route::rule('pw_girl_tag', 'index/api/pw_girl_tag');
Route::rule('pw_girl_tag2', 'index/api/pw_girl_tag2');
Route::rule('getSignature', 'index/index/getSignature');

//uni版本阿拉贡路由
Route::rule('/v1/global_data','index/uni/global_data');
Route::rule('wx_app_login2','index/uni/wx_app_login2');
Route::rule('get_user','index/uni/get_user');
Route::rule('create_vip_order2','index/uni/create_vip_order2');
Route::rule('create_nobility_order2','index/uni/create_nobility_order2');
Route::rule('vip_page_url','index/uni/vip_page_url');
Route::rule('my_order_get', 'index/uni/my_order_get');
Route::rule('get_next_vod2', 'index/uni/get_next_vod2');
Route::rule('get_pw_play', 'index/uni/get_pw_play');
Route::rule('banner', 'index/uni/banner');

//商城后台
Route::rule('admin/login', 'admin/index/login');
Route::rule('admin/logout', 'admin/index/logout');
Route::rule('login_check', 'admin/api/login_check');
Route::rule('admin', 'admin/index/index');

Route::rule('admin/goods', 'admin/index/goods');
Route::rule('admin/goods_add', 'admin/index/goods_add');
